package com.example.canalclientsync.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class ElasticsearchConstants {
    /**视频*/
    @Value("${elasticsearch.index}")
    private String SEARCH_INDEX;
    @Bean
    public String SEARCH_INDEX() {
        return SEARCH_INDEX;
    }
}
